home *** CD-ROM | disk | FTP | other *** search
- <!-- Windows Media Player Classic -->
-
- <theme>
-
- <view width="285" height="359"
- title="Classic Media Player"
- timerInterval="100"
- scriptFile="classic.js;res://wmploc.dll/RT_TEXT/#132;"
- ontimer="OnTimerTick();"
- onload="OnLoad();"
- >
-
- <player URL_onchange="OnURLChange();"
- PlayState_onchange="OnPlayStateChange();"
- OpenState_onchange="OnOpenStateChange();"
- >
-
- </player>
-
- <!-- The navigation bar -->
-
- <subview width="jscript:view.width" height="1" backgroundColor="white" horizontalAlignment="stretch" />
-
- <subview id="navbar" left="0" top="1" width="jscript:view.width" height="23"
- horizontalAlignment="stretch"
- backgroundColor="#D6D3CE"
- >
-
- <button id="back" left="5" top="1"
- image="back_up.bmp" hoverImage="back_hover.bmp" downImage="back_down.bmp" disabledImage="back_disabled.bmp"
- upToolTip="Back"
- />
- <button id="forward" left="29" top="1"
- image="forward_up.bmp" hoverImage="forward_hover.bmp" downImage="forward_down.bmp" disabledImage="forward_disabled.bmp"
- upToolTip="Forward"
- />
- <button left="53" top="1"
- image="toggle_up.bmp" hoverImage="toggle_hover.bmp" downImage="toggle_down.bmp"
- upToolTip="Return to Full Mode"
- onClick="view.ReturnToMediaCenter();"
- />
-
- <button id="radio" left="85" top="1" width="54"
- image="radio_up.bmp" hoverImage="radio_hover.bmp" downImage="radio_down.bmp"
- upToolTip="Radio"
- horizontalAlignment="right"
- onclick="player.LaunchURL( 'http://windowsmedia.microsoft.com/radio/Radio5.asp' );"
- />
- <text left="jscript:radio.left+25;" top="jscript:radio.top+3;"
- value="Radio" passThrough="true" fontSize="8"
- horizontalAlignment="right"
- />
- <button id="music" left="jscript:radio.left + radio.width" top="1" width="53"
- image="music_up.bmp" hoverImage="music_hover.bmp" downImage="music_down.bmp"
- upToolTip="Music"
- horizontalAlignment="right"
- onclick="player.LaunchURL( 'http://windowsmedia.microsoft.com/music/Guide.asp?wmp=t' );"
- />
- <text left="jscript:music.left+25;" top="jscript:music.top+3;"
- value="Music" passThrough="true" fontSize="8"
- horizontalAlignment="right"
- />
- <button id="guide" left="jscript:music.left + music.width" top="1" width="85"
- image="guide_up.bmp" hoverImage="guide_hover.bmp" downImage="guide_down.bmp"
- upToolTip="Media Guide"
- horizontalAlignment="right"
- onclick="player.LaunchURL( 'http://windowsmedia.microsoft.com/default.asp' );"
- />
- <text left="jscript:guide.left+25;" top="jscript:guide.top+3;"
- value="Media Guide" passThrough="true" fontSize="8"
- horizontalAlignment="right"
- />
-
- </subview>
-
- <subview top="jscript:navbar.top + navbar.height" width="jscript:navbar.width" height="1" backgroundColor="#848284" horizontalAlignment="stretch" />
-
- <!-- The video window - and replacement icon view -->
-
- <subview id="videoview" left="0" top="25" width="jscript:view.width" height="183"
- backgroundColor="black"
- horizontalAlignment="stretch" verticalAlignment="stretch"
- >
-
- <video id="video" windowless="false"
- width="jscript:videoview.width" height="jscript:videoview.height"
- horizontalAlignment="stretch" verticalAlignment="stretch"
- backgroundColor="black"
- />
-
- <button id="wmlogo" image="icon_wmlogo.bmp" enabled="false"
- horizontalAlignment="center" verticalAlignment="center"
- />
-
- </subview>
-
- <!-- The controls and info section -->
-
- <subview id="cpane"
- left="0" top="jscript:videoview.top + videoview.height" width="jscript:view.width" height="jscript:view.height - top"
- horizontalAlignment="stretch" verticalAlignment="bottom"
- backgroundColor="#D6D3CE"
- >
-
- <slider id="seek" left="5" top="5"
- width="jscript:cpane.width-10;"
- toolTip="Seek"
- backgroundImage="currentpos_background.bmp"
- thumbImage="currentpos_thumb.bmp"
- disabledImage="currentpos_disabled.bmp"
- min="0" max="wmpprop:player.currentmedia.duration"
- value="wmpprop:player.controls.currentposition"
- onDragEnd="player.controls.currentposition=value;"
- horizontalalignment="stretch" borderSize="7"
- enabled="wmpenabled:player.controls.currentposition"
- />
-
- <button id="play" left="5" top="25"
- image="play_up.bmp" hoverImage="play_hover.bmp" downImage="play_down.bmp" disabledImage="play_disabled.bmp"
- upToolTip="Play"
- enabled="wmpenabled:controls.Play"
- onclick="player.controls.Play();"
- />
- <button id="pause" left="26" top="25"
- image="pause_up.bmp" hoverImage="pause_hover.bmp" downImage="pause_down.bmp" disabledImage="pause_disabled.bmp"
- upToolTip="Pause"
- enabled="wmpenabled:controls.Pause"
- onclick="player.controls.Pause();"
- />
- <button id="stop" left="47" top="25"
- image="stop_up.bmp" hoverImage="stop_hover.bmp" downImage="stop_down.bmp" disabledImage="stop_disabled.bmp"
- upToolTip="Stop"
- enabled="wmpenabled:controls.Stop"
- onclick="player.controls.Stop();"
- />
-
- <subview left="70" top="25" backgroundImage="divider.bmp" />
-
- <button id="prev" left="76" top="25"
- image="prev_up.bmp" hoverImage="prev_hover.bmp" downImage="prev_down.bmp" disabledImage="prev_disabled.bmp"
- upToolTip="Skip Back"
- enabled="wmpenabled:controls.Previous"
- onclick="player.controls.Previous();"
- />
- <button id="rw" left="98" top="25"
- image="rw_up.bmp" hoverImage="rw_hover.bmp" downImage="rw_down.bmp" disabledImage="rw_disabled.bmp"
- upToolTip="Rewind"
- enabled="wmpenabled:controls.FastReverse"
- onclick="player.controls.FastReverse();"
- />
- <button id="ffw" left="120" top="25"
- image="ffw_up.bmp" hoverImage="ffw_hover.bmp" downImage="ffw_down.bmp" disabledImage="ffw_disabled.bmp"
- upToolTip="Fast Forward"
- enabled="wmpenabled:controls.FastForward"
- onclick="player.controls.FastForward();"
- />
- <button id="next" left="142" top="25"
- image="next_up.bmp" hoverImage="next_hover.bmp" downImage="next_down.bmp" disabledImage="next_disabled.bmp"
- upToolTip="Skip Forward"
- enabled="wmpenabled:controls.Next"
- onclick="player.controls.Next();"
- />
-
- <subview left="165" top="25" backgroundImage="divider.bmp" />
-
- <subview id="intro" left="171" top="25" backgroundImage="intro_disabled.bmp"
- />
-
- <subview left="194" top="25" backgroundImage="divider.bmp" />
-
- <button id="mute" left="210" top="25" width="21"
- image="mute_up.bmp" hoverImage="mute_hover.bmp" downImage="mute_down.bmp"
- sticky="true" down="wmpprop:player.settings.mute"
- upToolTip="Mute"
- horizontalAlignment="right"
- onclick="player.settings.mute = down;"
- />
-
- <slider id="volume" left="232" top="25" width="48"
- toolTip="Volume" borderSize="5"
- backgroundImage="volume_background.bmp"
- thumbImage="volume_thumb.bmp"
- value="wmpprop:player.settings.volume"
- value_onchange="player.settings.volume = value"
- horizontalAlignment="right"
- />
-
- <!-- info pane subview -->
-
- <subview top="55" width="jscript:cpane.width" height="jscript:cpane.height - top"
- backgroundColor="black"
- horizontalAlignment="stretch"
- >
-
- <subview id="icon" left="5" top="35" width="30" height="30" />
-
- <subview width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch" />
- <subview width="1" height="jscript:cpane.height" backgroundColor="#848284" />
-
- <text id="show_label" top="5" width="75" height="15"
- fontsize="8" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="right"
- value="Show:"
- />
- <text id="show" top="jscript:show_label.top"
- left="jscript:show_label.left + show_label.width + 10"
- width="jscript:cpane.width - show_label.width - 10" height="jscript:show_label.height"
- fontsize="jscript:show_label.fontsize" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="left"
- value=""
- />
-
- <subview top="22" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch" />
-
- <text id="clip_label" top="25" width="75" height="15"
- fontsize="8" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="right"
- value="Clip:"
- />
- <text id="clip" top="jscript:clip_label.top"
- left="jscript:clip_label.left + clip_label.width + 10"
- width="jscript:cpane.width - clip_label.width - 10" height="jscript:clip_label.height"
- fontsize="jscript:clip_label.fontsize" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="left"
- value=""
- />
-
- <text id="author_label" top="40" width="75" height="15"
- fontsize="8" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="right"
- value="Author:"
- />
- <text id="author" top="jscript:author_label.top"
- left="jscript:author_label.left + author_label.width + 10"
- width="jscript:cpane.width - author_label.width - 10" height="jscript:author_label.height"
- fontsize="jscript:clip_label.fontsize" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="left"
- value=""
- />
- <text id="copyright_label" top="55" width="75" height="15"
- fontsize="8" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="right"
- value="Copyright:"
- />
- <text id="copyright" top="jscript:copyright_label.top"
- left="jscript:copyright_label.left + copyright_label.width + 10"
- width="jscript:cpane.width - copyright_label.width - 10" height="jscript:copyright_label.height"
- fontsize="jscript:copyright_label.fontsize" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="left"
- value=""
- />
-
- <subview top="74" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch" />
-
- <text id="info" top="78" left="20" height="15"
- fontsize="8" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black"
- value=""
- />
-
- <text id="tracktime" top="78" left="130" width="80" height="15"
- fontsize="8" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black" justification="right"
- value=""
- horizontalAlignment="right"
- />
- <text id="duration" left="JScript:tracktime.left + tracktime.width" top="78" width="60" height="15"
- fontsize="8" fontface="ms sans serif"
- foregroundColor="white" backgroundColor="black"
- value=""
- horizontalAlignment="right"
- />
-
- <subview id="stereo" left="jscript:cpane.width - 30" top="75" width="22" height="20"
- horizontalAlignment="right"
- />
-
- </subview>
-
- </subview>
-
- </view>
-
- </theme>
-